Optimal. Leaf size=233 \[ \frac {3229 \sqrt {x} (2+3 x)}{1386 \sqrt {2+5 x+3 x^2}}+\frac {1357 \sqrt {2+5 x+3 x^2}}{693 x^{3/2}}-\frac {3229 \sqrt {2+5 x+3 x^2}}{1386 \sqrt {x}}+\frac {(634+1367 x) \sqrt {2+5 x+3 x^2}}{231 x^{7/2}}-\frac {4 (9-20 x) \left (2+5 x+3 x^2\right )^{3/2}}{99 x^{11/2}}-\frac {3229 (1+x) \sqrt {\frac {2+3 x}{1+x}} E\left (\tan ^{-1}\left (\sqrt {x}\right )|-\frac {1}{2}\right )}{693 \sqrt {2} \sqrt {2+5 x+3 x^2}}+\frac {1357 (1+x) \sqrt {\frac {2+3 x}{1+x}} F\left (\tan ^{-1}\left (\sqrt {x}\right )|-\frac {1}{2}\right )}{231 \sqrt {2} \sqrt {2+5 x+3 x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.10, antiderivative size = 233, normalized size of antiderivative = 1.00, number of steps
used = 8, number of rules used = 6, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.240, Rules used = {824, 848, 853,
1203, 1114, 1150} \begin {gather*} \frac {1357 (x+1) \sqrt {\frac {3 x+2}{x+1}} F\left (\text {ArcTan}\left (\sqrt {x}\right )|-\frac {1}{2}\right )}{231 \sqrt {2} \sqrt {3 x^2+5 x+2}}-\frac {3229 (x+1) \sqrt {\frac {3 x+2}{x+1}} E\left (\text {ArcTan}\left (\sqrt {x}\right )|-\frac {1}{2}\right )}{693 \sqrt {2} \sqrt {3 x^2+5 x+2}}-\frac {3229 \sqrt {3 x^2+5 x+2}}{1386 \sqrt {x}}+\frac {3229 \sqrt {x} (3 x+2)}{1386 \sqrt {3 x^2+5 x+2}}-\frac {4 (9-20 x) \left (3 x^2+5 x+2\right )^{3/2}}{99 x^{11/2}}+\frac {(1367 x+634) \sqrt {3 x^2+5 x+2}}{231 x^{7/2}}+\frac {1357 \sqrt {3 x^2+5 x+2}}{693 x^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 824
Rule 848
Rule 853
Rule 1114
Rule 1150
Rule 1203
Rubi steps
\begin {align*} \int \frac {(2-5 x) \left (2+5 x+3 x^2\right )^{3/2}}{x^{13/2}} \, dx &=-\frac {4 (9-20 x) \left (2+5 x+3 x^2\right )^{3/2}}{99 x^{11/2}}-\frac {1}{33} \int \frac {(317+375 x) \sqrt {2+5 x+3 x^2}}{x^{9/2}} \, dx\\ &=\frac {(634+1367 x) \sqrt {2+5 x+3 x^2}}{231 x^{7/2}}-\frac {4 (9-20 x) \left (2+5 x+3 x^2\right )^{3/2}}{99 x^{11/2}}+\frac {\int \frac {-6785-\frac {17235 x}{2}}{x^{5/2} \sqrt {2+5 x+3 x^2}} \, dx}{1155}\\ &=\frac {1357 \sqrt {2+5 x+3 x^2}}{693 x^{3/2}}+\frac {(634+1367 x) \sqrt {2+5 x+3 x^2}}{231 x^{7/2}}-\frac {4 (9-20 x) \left (2+5 x+3 x^2\right )^{3/2}}{99 x^{11/2}}-\frac {\int \frac {-\frac {16145}{2}-\frac {20355 x}{2}}{x^{3/2} \sqrt {2+5 x+3 x^2}} \, dx}{3465}\\ &=\frac {1357 \sqrt {2+5 x+3 x^2}}{693 x^{3/2}}-\frac {3229 \sqrt {2+5 x+3 x^2}}{1386 \sqrt {x}}+\frac {(634+1367 x) \sqrt {2+5 x+3 x^2}}{231 x^{7/2}}-\frac {4 (9-20 x) \left (2+5 x+3 x^2\right )^{3/2}}{99 x^{11/2}}+\frac {\int \frac {\frac {20355}{2}+\frac {48435 x}{4}}{\sqrt {x} \sqrt {2+5 x+3 x^2}} \, dx}{3465}\\ &=\frac {1357 \sqrt {2+5 x+3 x^2}}{693 x^{3/2}}-\frac {3229 \sqrt {2+5 x+3 x^2}}{1386 \sqrt {x}}+\frac {(634+1367 x) \sqrt {2+5 x+3 x^2}}{231 x^{7/2}}-\frac {4 (9-20 x) \left (2+5 x+3 x^2\right )^{3/2}}{99 x^{11/2}}+\frac {2 \text {Subst}\left (\int \frac {\frac {20355}{2}+\frac {48435 x^2}{4}}{\sqrt {2+5 x^2+3 x^4}} \, dx,x,\sqrt {x}\right )}{3465}\\ &=\frac {1357 \sqrt {2+5 x+3 x^2}}{693 x^{3/2}}-\frac {3229 \sqrt {2+5 x+3 x^2}}{1386 \sqrt {x}}+\frac {(634+1367 x) \sqrt {2+5 x+3 x^2}}{231 x^{7/2}}-\frac {4 (9-20 x) \left (2+5 x+3 x^2\right )^{3/2}}{99 x^{11/2}}+\frac {1357}{231} \text {Subst}\left (\int \frac {1}{\sqrt {2+5 x^2+3 x^4}} \, dx,x,\sqrt {x}\right )+\frac {3229}{462} \text {Subst}\left (\int \frac {x^2}{\sqrt {2+5 x^2+3 x^4}} \, dx,x,\sqrt {x}\right )\\ &=\frac {3229 \sqrt {x} (2+3 x)}{1386 \sqrt {2+5 x+3 x^2}}+\frac {1357 \sqrt {2+5 x+3 x^2}}{693 x^{3/2}}-\frac {3229 \sqrt {2+5 x+3 x^2}}{1386 \sqrt {x}}+\frac {(634+1367 x) \sqrt {2+5 x+3 x^2}}{231 x^{7/2}}-\frac {4 (9-20 x) \left (2+5 x+3 x^2\right )^{3/2}}{99 x^{11/2}}-\frac {3229 (1+x) \sqrt {\frac {2+3 x}{1+x}} E\left (\tan ^{-1}\left (\sqrt {x}\right )|-\frac {1}{2}\right )}{693 \sqrt {2} \sqrt {2+5 x+3 x^2}}+\frac {1357 (1+x) \sqrt {\frac {2+3 x}{1+x}} F\left (\tan ^{-1}\left (\sqrt {x}\right )|-\frac {1}{2}\right )}{231 \sqrt {2} \sqrt {2+5 x+3 x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains complex when optimal does not.
time = 20.13, size = 165, normalized size = 0.71 \begin {gather*} \frac {-2016-5600 x+11360 x^2+61744 x^3+86914 x^4+48256 x^5+8142 x^6+3229 i \sqrt {2} \sqrt {1+\frac {1}{x}} \sqrt {3+\frac {2}{x}} x^{13/2} E\left (i \sinh ^{-1}\left (\frac {\sqrt {\frac {2}{3}}}{\sqrt {x}}\right )|\frac {3}{2}\right )+842 i \sqrt {2} \sqrt {1+\frac {1}{x}} \sqrt {3+\frac {2}{x}} x^{13/2} F\left (i \sinh ^{-1}\left (\frac {\sqrt {\frac {2}{3}}}{\sqrt {x}}\right )|\frac {3}{2}\right )}{1386 x^{11/2} \sqrt {2+5 x+3 x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.75, size = 139, normalized size = 0.60
method | result | size |
default | \(-\frac {1545 \sqrt {6 x +4}\, \sqrt {3 x +3}\, \sqrt {6}\, \sqrt {-x}\, \EllipticF \left (\frac {\sqrt {6 x +4}}{2}, i \sqrt {2}\right ) x^{5}-3229 \sqrt {6 x +4}\, \sqrt {3 x +3}\, \sqrt {6}\, \sqrt {-x}\, \EllipticE \left (\frac {\sqrt {6 x +4}}{2}, i \sqrt {2}\right ) x^{5}+58122 x^{7}+48018 x^{6}-250788 x^{5}-521484 x^{4}-370464 x^{3}-68160 x^{2}+33600 x +12096}{8316 \sqrt {3 x^{2}+5 x +2}\, x^{\frac {11}{2}}}\) | \(139\) |
risch | \(-\frac {9687 x^{7}+8003 x^{6}-41798 x^{5}-86914 x^{4}-61744 x^{3}-11360 x^{2}+5600 x +2016}{1386 x^{\frac {11}{2}} \sqrt {3 x^{2}+5 x +2}}-\frac {\left (-\frac {3229 \sqrt {6 x +4}\, \sqrt {3 x +3}\, \sqrt {-6 x}\, \left (\frac {\EllipticE \left (\frac {\sqrt {6 x +4}}{2}, i \sqrt {2}\right )}{3}-\EllipticF \left (\frac {\sqrt {6 x +4}}{2}, i \sqrt {2}\right )\right )}{2772 \sqrt {3 x^{3}+5 x^{2}+2 x}}-\frac {1357 \sqrt {6 x +4}\, \sqrt {3 x +3}\, \sqrt {-6 x}\, \EllipticF \left (\frac {\sqrt {6 x +4}}{2}, i \sqrt {2}\right )}{1386 \sqrt {3 x^{3}+5 x^{2}+2 x}}\right ) \sqrt {x \left (3 x^{2}+5 x +2\right )}}{\sqrt {x}\, \sqrt {3 x^{2}+5 x +2}}\) | \(213\) |
elliptic | \(\frac {\sqrt {x \left (3 x^{2}+5 x +2\right )}\, \left (-\frac {8 \sqrt {3 x^{3}+5 x^{2}+2 x}}{11 x^{6}}-\frac {20 \sqrt {3 x^{3}+5 x^{2}+2 x}}{99 x^{5}}+\frac {3946 \sqrt {3 x^{3}+5 x^{2}+2 x}}{693 x^{4}}+\frac {1927 \sqrt {3 x^{3}+5 x^{2}+2 x}}{231 x^{3}}+\frac {1357 \sqrt {3 x^{3}+5 x^{2}+2 x}}{693 x^{2}}-\frac {3229 \left (3 x^{2}+5 x +2\right )}{1386 \sqrt {x \left (3 x^{2}+5 x +2\right )}}+\frac {1357 \sqrt {6 x +4}\, \sqrt {3 x +3}\, \sqrt {-6 x}\, \EllipticF \left (\frac {\sqrt {6 x +4}}{2}, i \sqrt {2}\right )}{1386 \sqrt {3 x^{3}+5 x^{2}+2 x}}+\frac {3229 \sqrt {6 x +4}\, \sqrt {3 x +3}\, \sqrt {-6 x}\, \left (\frac {\EllipticE \left (\frac {\sqrt {6 x +4}}{2}, i \sqrt {2}\right )}{3}-\EllipticF \left (\frac {\sqrt {6 x +4}}{2}, i \sqrt {2}\right )\right )}{2772 \sqrt {3 x^{3}+5 x^{2}+2 x}}\right )}{\sqrt {x}\, \sqrt {3 x^{2}+5 x +2}}\) | \(290\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [C] Result contains higher order function than in optimal. Order 9 vs. order
4.
time = 0.36, size = 79, normalized size = 0.34 \begin {gather*} \frac {8281 \, \sqrt {3} x^{6} {\rm weierstrassPInverse}\left (\frac {28}{27}, \frac {80}{729}, x + \frac {5}{9}\right ) - 29061 \, \sqrt {3} x^{6} {\rm weierstrassZeta}\left (\frac {28}{27}, \frac {80}{729}, {\rm weierstrassPInverse}\left (\frac {28}{27}, \frac {80}{729}, x + \frac {5}{9}\right )\right ) - 9 \, {\left (3229 \, x^{5} - 2714 \, x^{4} - 11562 \, x^{3} - 7892 \, x^{2} + 280 \, x + 1008\right )} \sqrt {3 \, x^{2} + 5 \, x + 2} \sqrt {x}}{12474 \, x^{6}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int -\frac {\left (5\,x-2\right )\,{\left (3\,x^2+5\,x+2\right )}^{3/2}}{x^{13/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________